<?php

/**
 * 记录日志文件 to file
 * @param type $text
 */
function logdebug($text) {
    file_put_contents(APPPATH . '/logs/log.txt', $text . "\n", FILE_APPEND);
}
